package wqh.dao;

import wqh.domain.DtAlarmEvent;
import java.util.List;
/**
 * Created by cfs on 2016/12/17.
 */
public interface DtAlarmEventDao {
    Integer selectCount();
    List<DtAlarmEvent> findAllRecord();
    DtAlarmEvent findById(Integer id);
    List<DtAlarmEvent> findByTimeRange(Integer start,Integer end);
    int countByTimeRange(Integer start,Integer end);
    int insertRecord(DtAlarmEvent dtAlarmEvent);
    int deleteById(Integer id);
}
